import type { AgCoreBean } from './agCoreBean';

export interface IRegistry<TBeanCollection, TDynamicBeanName extends string> {
    readonly beanName: 'registry';

    createDynamicBean<T extends AgCoreBean<TBeanCollection>>(
        name: TDynamicBeanName,
        mandatory: boolean,
        ...args: any[]
    ): T | undefined;
}
